Jump to content

Recommended Posts

Posted

My Question is how do I change ' to ' via the xsl?

 

In ie i get Community Nurse — Children and Young People's Directorate

 

In opera i get Community Nurse — Children and Young People's Directorate

 

----------------------------------------------------------------------------------------------------

 

Hi I have the following XML

 

 

XML Code:

 

 

 

]>

 

 

20

 

912080005

346-CYP-01

Community Nurse

An opportunity has arisen within the service for an additional Community Nurse. The Children and Young People’s Service provides a specialist mental health, community based approach to young people, 0-17th year. The service operates as a multi-disciplinary team; nursing psychology and psychiatry, who work together to provide an effective service. The Community Nursing Service works within a multi-agency framework and...

Children and Young People's Directorate

&#16324,103 - &#16332,653 pr pa

County Durham

05/09/2008

22/08/2008

http://www.jobs.nhs.uk/cgi-bin/vacdetails.cgi?selection=912080005

 

 

which gets transformed by the following XSL

 

 

XML Code:

 

]>

xmlns:wpc="com.sap.nw.wpc.km.service.linkmanager.XsltHelper">

 

 

 

disable-output-escaping="yes">'

 

 

/


 

Resulting in

 

 

HTML Code:

Community Nurse — Children and Young People's Directorate

 

22/08/2008 / 05/09/2008

 

346-CYP-01

 

£24,103 - £32,653 pr pa

 

An opportunity has arisen within the service for an additional Community Nurse. The Children and Young People’s Service provides a specialist mental health, community based approach to young people, 0-17th year. The service operates as a multi-disciplinary team; nursing psychology and psychiatry, who work together to provide an effective service. The Community Nursing Service works within a multi-agency framework and...

 

Error Page Question is how do I change ' to ' via the xsl?

 

I have googled and googled and googled this to no avail any help and assistance will be greatfully recieved.

 

The XML cannot be modyfied and comes from

 

http://www.jobs.nhs.uk/extsearch?client_id=122252&internal_only=n&infonly=1

 

Thank you in advance

 

Regards

 

Damien

  • 2 weeks later...
Posted (edited)

try this:

 





 
\'

           select="substring-after($string, $apos)" />



 


 

:o = : & o

:p = : & p (without spaces)... :)

Edited by plexer

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...