Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Possible XML Question

by dakkar (Hermit)
on Apr 09, 2003 at 16:00 UTC ( #249274=note: print w/ replies, xml ) Need Help??


in reply to Possible XML Question

As you have discovered, the nodes are not in the document, to distinguish between NULL and empty string.

As for XSLT, you could always do:

<xsl:template match="row"> <xsl:value-of select="column1"/>,<xsl:value-of select="column2"/>,<!- +- etc etc --> </xsl:template>

In this way, non-existant elements will get stringified into the empty string.

-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)


Comment on Re: Possible XML Question
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249274]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-04-16 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (424 votes), past polls