Đã hoàn thành

xsl to find and replace a string

Given text, use XSLT and regex to find an ID and a URL then replace the URL with a given URL+the ID.


Given the RSS data below, for each item use only XSL to find the ID ("ID12345" or "ID00000" in this example) and replace the URL ("[url removed, login to view]" in this example) with the new URL "https://[url removed, login to view]" + the ID ("https://[url removed, login to view]" in this example)

sample source rss file to transform attached

Some regex you can use. This seems to work but I'm open to using different regex if you need.

for ID: "ID....."

for URL: "\bhref=.([^\x22\r\n]+\x22)"

regex added to attached file. Some slashes were stripped out of the original description.

Kĩ năng: XSLT

Xem nhiều hơn: xsl find replace string example, replace string xsl, xslt find replace text example, work find, using regex in c, to string, text to string, string the, string i, string find c, regex in c, regex example, m string, find work com, c++ find, find replace xslt, xsl find replace url, regex &, xslt xml, replace, Regex, find work, find domain, find an, c++ regex

Về Bên Thuê:
( 2 nhận xét ) redmond, United States

ID dự án: #1051993

Được trao cho:


I did it just to see if I can. More in PM.

$35 USD trong 0 ngày
(0 Đánh Giá)

I have it ready

$35 USD trong 0 ngày
(0 Đánh Giá)

4 freelancer đang chào giá trung bình $40 cho công việc này


Gone is the time when only unix ,perl could use [login to view URL] can also now. Assured work. Help and support through conversation at skype or yahoo.

$50 USD trong 1 ngày
(0 Nhận xét)

It will be completed in 5 hrs.

$40 USD trong 2 ngày
(0 Nhận xét)