[Home] [By Thread] [By Date] [Recent Entries]


* Rick Marshall <rjm@z...> [2005-04-12 18:37]:
> Bob Foster wrote:
> 
> >Wow, talk about trolling! ;-}
> >
> >How about we back up to: why do we care? It's those damn namespaces. 
> >Suppose there were no namespaces. Suppose instead of namespaces, there 
> >were only globally unique names.
> >
> i'm warming to namespaces. as my world gets sudsier (soapier?) the 
> namespace is an easy way to get at parts of messages i'm interested in. 
> eg multiple payloads in different namespaces.
> 
> or am i just abusing the technology?

    I use namespaces to filter out different steps in an SAX based
    XML pipeline. On namespace will inject calendars to a document,
    another will run simple includes. I'm attaching namespaces to
    elements and attributes both. 

    I'm also using them a lot in my XSLT 2.0 code. I don't create a
    template without using modes, and attaching a namespace to the
    mode names. It makes it much easier to reuse transforms this way.

    I'm plinking around, of course. Attempting to learn this stuff myself.

--
Alan Gutierrez - alan@e...
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member