"Jean-David Benamou" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I have add a custom attribute to my SVG document :
>
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
> "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";
> [<!ATTLIST text
> customNS:scale CDATA #IMPLIED
> customNS:npath CDATA #IMPLIED>
> ]>
>
> Now the problem occurs when I "printNode" some node
> to a string and then "parseXML" it back :
>
> if the node contains one of these custom attributes then
> parseXML skips every elements from the element containing
> this custom attribute.

The problem is almost certainly printNode and not parseXML, printNode is a 
very limited serialiser - look at what it outputs and you'll see it's often 
not right if namespaces are involved.  I'd look more at the printNode than 
the parseXML (although that also isn't perfect)  Some full documents that 
fail would allow us to help more I'm sure.

Jim. 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to