Đang Thực Hiện

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.

Details:

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 thêm: 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

Mã Dự Án: #1051993

Đã trao cho:

kamilzola

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

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

I have it ready

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

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

ankit15

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

$50 USD trong 1 ngày
(0 Đánh Giá)
0.0
prjdevelop

It will be completed in 5 hrs.

$40 USD trong 2 ngày
(0 Đánh Giá)
0.0