Jason --

Since this is a pure XSLT question and not specific to Xalan, you'll get
a faster response from the Mulberry list
(http://www.mulberrytech.com/xsl/xsl-list/index.html).  Have look over
there.

Gary

> -----Original Message-----
> From: Jason Rizer [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, January 12, 2002 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: XPATH Help
> 
> 
> Hello,
> 
> I've just recently begun using xalan and I'm kind of
> stuck on something
> pretty simple.  I've worked through parts of a couple
> of tutorials but 
> I
> still can't seem to handle this problem.  I'd like to
> convert the
> following chunk of xml:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <XMI xmlns:ABC="org.jason">
>   <XMI.content>
>     <ABC:jason.Smith>
>       <LL/>
>    </ABC:jason.Smith>
>     <Smith/>
>   <XMI content>
> </XMI>
> 
> to this chunk:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <XMI xmlns:ABC="org.jason">
>   <XMI.content>
>     <ABC:Smith>
>       <LL/>
>    </ABC:Smith>
>     <Smith/>
>   <XMI content>
> </XMI>
> 
> In other words I want to replace each elament named
> jason.Smith with an
> identical element (ie not affect any of it's children
> or it's
> attributes) named Smith but only when It occurs in the 
> Namespace ABC.  
> I
> think I need to use the XPATH namespace( ) function in
> my match
> expression but I can't quite seem to get it to work. 
> Any help with
> creating this stylesheet would be greatly appreciated.
>  Thank in
> advance!
> 
> -Jaso
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail! 
> http://promo.yahoo.com/videomail/
> 

Reply via email to