Jump to content
Server Maintenance This Week. ×

Keeping the ampersand during XML import


Cabinetman

This topic is 4553 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Yeah I know .....

My head is mush and I have to finish.

I've been removing the "&" from names and titles in my XML BEFORE import .... but I don't really like it.

Is it possible, and if so how, to import something like.....

<name>Smith & Wesson</name>

...so that it's the same in my field after import?

Can be changed in the stylesheet or where to allow it without getting an error?

Link to comment
Share on other sites

Don't remove them convert to "&amp;". Or perhaps they are already that way and you are viewing in the XML in something that is converting it (for view) already. If you look at the xml in a text-editor that does NOT convert, you will see for sure. If the "&" is "&amp;" and you are using XSLT, the correct character should be imported.

Link to comment
Share on other sites

This topic is 4553 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.