tools-yak
[Top] [All Lists]

[tools-yak@collab] Re: Transclude XML DOM Problems

To: tools-yak@xxxxxxxxxxxxxxxxxxx
From: "Peter P. Jones" <ppj@xxxxxxxxxxxxx>
Date: Sat, 08 Jan 2005 17:21:51 +0000
Message-id: <41E016AF.8010206@concept67.net>
Hi Murray,    (01)

Sorry, I meant like...    (02)

 >> I.e.
<a0:html xmlns:a0="http://www.w3.org/1999/xhtml";>
<a0:body>
<a0:p id="whatever">...</a0:p>
</a0:body>
</a0:html>    (03)

... but I compressed it too much. If I grab the <a0:p> chunk as I would 
in the transclude demo I get... yeah, Martian or something.    (04)

-- 
Peter    (05)

Murray Altheim wrote:
> Peter P. Jones wrote:
> [...]
> 
>> Another issue, not related to the above, is that XHTML using 
>> namespaces and qualified names doesn't render as HTML if transferred 
>> straight into the browser environment.
>> I.e. <a0:p xmlns:a0="http://www.w3.org/1999/xhtml";>...</a0:p> isn't 
>> automatically made a HTML <p>...</p>.
>> (I haven't really thought hard about this one yet.)
> 
> 
> Peter,
> 
> That's not even remotely XHTML, so I wouldn't try to capture it.
> There's all manner of "markup" out there that isn't even well-
> formed XML, much less reliably parseable. Your best bet is to
> work in error-handling code as most browsers do, rather than to
> try and interpret it. Like trying to parse Swahili while thinking
> it's Norwegian, or something akin. Or baby talk while thinking
> it's Martian. Dunno. It's not XHTML, anyway.
> 
> Murray
> 
> ......................................................................
> Murray Altheim                    http://kmi.open.ac.uk/people/murray/
> Knowledge Media Institute
> The Open University, Milton Keynes, Bucks, MK7 6AA, UK               .
> 
>                  Empty handed, holding a hoe,
>                  Walking, riding a water buffalo,
>                  A man is crossing over a bridge;
>                  The bridge, not the water, flows.
> 
>                         -- Mahasattva Fu, The Blue Cliff Record [96]
>     (06)

-- 
This message is archived at:    (07)

http://collab.blueoxen.net/forums/cgi-bin/mesg.cgi?a=tools-yak&i=41E016AF.8010206@concept67.net    (08)
<Prev in Thread] Current Thread [Next in Thread>