[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: resolving entities

Subject: Re: resolving entities
From: xptm@xxxxxxx
Date: Fri, 23 Jul 2004 15:20:50 +0100
hm_array1
I just test it and it was ok, it gives me

HM_Array1=[[,sp,ep],["Chamadas","main-switch?folder=/mart/chamadas&report_id=
chamadas",1,0,0]]

Tell us what the processor you're using, and how you do the transformation,
maybe it helps.

Quoting "Rui Alberto L. Gongalves" <rui-l-goncalves@xxxxxxxxxxxxx>:

> Here's a simple test case:
> XML:
> <root></root>
>
> XSL:
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>  version="1.0">
>
>  <xsl:template match="root">
>  <script>
>   <xsl:text>
>
HM_Array1=[[,sp,ep],["Chamadas","main-switch?folder=/mart/chamadas&amp;report
_id=chamadas",1,0,0]]
>     </xsl:text>
>   </script>
> </xsl:template>
> </xsl:stylesheet>
>
> This will output:
> <?xml version="1.0"?>
> <script>
> HM_A... folder=/mart/chamadas&amp;report_id=chamadas",1,0,0]]
> </script>
>
> and I need:
> <?xml version="1.0"?>
> <script>
> HM_A... folder=/mart/chamadas&report_id=chamadas",1,0,0]]
> </script>
>
> Thanks again.
>
> Rui
>
> On Fri, 2004-07-23 at 14:21, xptm@xxxxxxx wrote:
> > That is too litle information you give. Try to show us the xml and the
xsl
> > you're using...
> >
> > Cumprimentos.
> >
> >
> > Quoting "Rui Alberto L. Gongalves" <rui-l-goncalves@xxxxxxxxxxxxx>:
> >
> > > Hi all,
> > > I'm trying to produce some JavaScript using xsl, buit I'm having
> > > problem with & entity.
> > >
> > > I need to produce something like:
> > >
> >
>
HM_Array1=[[,sp,ep],["Chamadas","main-switch?folder=/mart/chamadas&report_id=
chamadas",1,0,0]]
> > >
> > > The problem is the request parameters passed are:
> > >  folder=/mart/chamadas (and is Ok)
> > >  amp;report_id=chamadas (not ok. I need to passe report_id=chamadas.
> > >
> > > Is that possible tell in the stylesheet to resolve entities?
> > >
> > > Thanks for any help.
> > >
> > > Rui
> > > --
> > > Rui Alberto L. Gongalves <rui-l-goncalves@xxxxxxxxxxxxx>
> > > PT Inovagco
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > O SAPO ja esta livre de vmrus com a Panda Software, fique vocj tambim!
> > Clique em: http://antivirus.sapo.pt
> --
> Rui Alberto L. Gongalves <rui-l-goncalves@xxxxxxxxxxxxx>
> PT Inovagco
>
>







O SAPO ja esta livre de vmrus com a Panda Software, fique vocj tambim!
Clique em: http://antivirus.sapo.pt

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.